xref: /aosp_15_r20/external/flatbuffers/tests/JavaTest.bat (revision 890232f25432b36107d06881e0a25aaa6b473652)
1*890232f2SAndroid Build Coastguard Worker@echo off
2*890232f2SAndroid Build Coastguard Workerrem Copyright 2014 Google Inc. All rights reserved.
3*890232f2SAndroid Build Coastguard Workerrem
4*890232f2SAndroid Build Coastguard Workerrem Licensed under the Apache License, Version 2.0 (the "License");
5*890232f2SAndroid Build Coastguard Workerrem you may not use this file except in compliance with the License.
6*890232f2SAndroid Build Coastguard Workerrem You may obtain a copy of the License at
7*890232f2SAndroid Build Coastguard Workerrem
8*890232f2SAndroid Build Coastguard Workerrem     http://www.apache.org/licenses/LICENSE-2.0
9*890232f2SAndroid Build Coastguard Workerrem
10*890232f2SAndroid Build Coastguard Workerrem Unless required by applicable law or agreed to in writing, software
11*890232f2SAndroid Build Coastguard Workerrem distributed under the License is distributed on an "AS IS" BASIS,
12*890232f2SAndroid Build Coastguard Workerrem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*890232f2SAndroid Build Coastguard Workerrem See the License for the specific language governing permissions and
14*890232f2SAndroid Build Coastguard Workerrem limitations under the License.
15*890232f2SAndroid Build Coastguard Worker
16*890232f2SAndroid Build Coastguard Workerrem Compile then run the Java test.
17*890232f2SAndroid Build Coastguard Worker
18*890232f2SAndroid Build Coastguard Workerset batch_file_dir=%~d0%~p0
19*890232f2SAndroid Build Coastguard Worker
20*890232f2SAndroid Build Coastguard Workerjavac -g -classpath %batch_file_dir%\..\java;%batch_file_dir%;%batch_file_dir%\namespace_test;%batch_file_dir%\union_vector JavaTest.java
21*890232f2SAndroid Build Coastguard Workerjava -classpath %batch_file_dir%\..\java;%batch_file_dir%;%batch_file_dir%\namespace_test;%batch_file_dir%\union_vector JavaTest
22