1*45c5a001SPiotr P. Karwasz#************************************************************** 2*45c5a001SPiotr P. Karwasz# 3*45c5a001SPiotr P. Karwasz# Licensed to the Apache Software Foundation (ASF) under one 4*45c5a001SPiotr P. Karwasz# or more contributor license agreements. See the NOTICE file 5*45c5a001SPiotr P. Karwasz# distributed with this work for additional information 6*45c5a001SPiotr P. Karwasz# regarding copyright ownership. The ASF licenses this file 7*45c5a001SPiotr P. Karwasz# to you under the Apache License, Version 2.0 (the 8*45c5a001SPiotr P. Karwasz# "License"); you may not use this file except in compliance 9*45c5a001SPiotr P. Karwasz# with the License. You may obtain a copy of the License at 10*45c5a001SPiotr P. Karwasz# 11*45c5a001SPiotr P. Karwasz# http://www.apache.org/licenses/LICENSE-2.0 12*45c5a001SPiotr P. Karwasz# 13*45c5a001SPiotr P. Karwasz# Unless required by applicable law or agreed to in writing, 14*45c5a001SPiotr P. Karwasz# software distributed under the License is distributed on an 15*45c5a001SPiotr P. Karwasz# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*45c5a001SPiotr P. Karwasz# KIND, either express or implied. See the License for the 17*45c5a001SPiotr P. Karwasz# specific language governing permissions and limitations 18*45c5a001SPiotr P. Karwasz# under the License. 19*45c5a001SPiotr P. Karwasz# 20*45c5a001SPiotr P. Karwasz#************************************************************** 21*45c5a001SPiotr P. Karwasz 22*45c5a001SPiotr P. Karwasz 23*45c5a001SPiotr P. Karwasz.IF "$(OOO_SUBSEQUENT_TESTS)" == "" 24*45c5a001SPiotr P. Karwasznothing .PHONY: 25*45c5a001SPiotr P. Karwasz.ELSE 26*45c5a001SPiotr P. Karwasz 27*45c5a001SPiotr P. KarwaszPRJ = ..$/..$/.. 28*45c5a001SPiotr P. KarwaszPRJNAME = connectivity 29*45c5a001SPiotr P. KarwaszTARGET = SdbcToolsTest 30*45c5a001SPiotr P. Karwasz 31*45c5a001SPiotr P. Karwasz.IF "$(OOO_JUNIT_JAR)" != "" 32*45c5a001SPiotr P. KarwaszPACKAGE = complex$/sdbc 33*45c5a001SPiotr P. Karwasz 34*45c5a001SPiotr P. Karwasz# here store only Files which contain a @Test 35*45c5a001SPiotr P. KarwaszJAVATESTFILES = \ 36*45c5a001SPiotr P. Karwasz ToolsTest.java 37*45c5a001SPiotr P. Karwasz 38*45c5a001SPiotr P. Karwasz# put here all other files 39*45c5a001SPiotr P. KarwaszJAVAFILES = $(JAVATESTFILES) 40*45c5a001SPiotr P. Karwasz 41*45c5a001SPiotr P. Karwasz# The class under test lives in sdbc_jdbc.jar; dbtools.jar supplies the two 42*45c5a001SPiotr P. Karwasz# helper types Tools references (ResourceBasedEventLogger, StandardSQLState), 43*45c5a001SPiotr P. Karwasz# so that com.sun.star.comp.sdbc.Tools can be loaded and verified. 44*45c5a001SPiotr P. KarwaszJARFILES = ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar dbtools.jar sdbc_jdbc.jar 45*45c5a001SPiotr P. KarwaszEXTRAJARFILES = $(OOO_JUNIT_JAR) 46*45c5a001SPiotr P. Karwasz 47*45c5a001SPiotr P. Karwasz# Sample how to debug 48*45c5a001SPiotr P. Karwasz# JAVAIFLAGS+=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=9003,suspend=y 49*45c5a001SPiotr P. Karwasz 50*45c5a001SPiotr P. Karwasz.END 51*45c5a001SPiotr P. Karwasz 52*45c5a001SPiotr P. Karwasz.INCLUDE: settings.mk 53*45c5a001SPiotr P. Karwasz.INCLUDE: target.mk 54*45c5a001SPiotr P. Karwasz.INCLUDE: installationtest.mk 55*45c5a001SPiotr P. Karwasz 56*45c5a001SPiotr P. KarwaszALLTAR : javatest 57*45c5a001SPiotr P. Karwasz 58*45c5a001SPiotr P. Karwasz.END 59