New Tests for getAlignment
git-svn-id: svn://10.0.0.236/trunk@66992 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
# The contents of this file are subject to the Mozilla Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/MPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Sun Microsystems,
|
||||
# Inc. Portions created by Sun are
|
||||
# Copyright (C) 1999 Sun Microsystems, Inc. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
|
||||
TEST_NAME=PlugletTagInfo2_getAlignment_bottom
|
||||
DEPTH=../../../../../../../..
|
||||
UTIL_DIR=$(DEPTH)/utils
|
||||
BUILD_DIR=$(DEPTH)/build
|
||||
CONFIG_FILE=$(DEPTH)/config/CommonProperties
|
||||
BASIC_PATH=test/basic/api
|
||||
DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME)
|
||||
MAKE_PARAM=perl ../makeParameters.pl
|
||||
MAKE_COMB=perl ../makeCombinations.pl
|
||||
|
||||
default: all
|
||||
all: html properties
|
||||
html:
|
||||
@mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME)
|
||||
@cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME)
|
||||
|
||||
properties:
|
||||
@mkdir -p $(DEST_DIR)
|
||||
@perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties
|
||||
combinations:
|
||||
echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE)
|
||||
clobber:
|
||||
@rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html
|
||||
@rm -f $(DEST_DIR)/TestProperties
|
||||
@@ -0,0 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<center><H1>Depth 0</H1></center>
|
||||
<blockquote>This window contains a pluglet PlugletTagInfo2_getAlignment_bottom test.</blockquote>
|
||||
<EMBED type="application/x-api-pluglet" name="test" width=100 height=100 align="bottom">
|
||||
</body>
|
||||
</hmtl>
|
||||
@@ -0,0 +1,18 @@
|
||||
PlugletTagInfo2_getAlignment_bottom Information.
|
||||
|
||||
Test name: PlugletTagInfo2_getAlignment_bottom
|
||||
|
||||
Synopsis: getAlignment method of class PlugletTagInfo2
|
||||
|
||||
Pre-Conditions: Build mozilla, setup enviroment as for running mozilla
|
||||
and see api tests README for setup enviroment for run tests.
|
||||
|
||||
Description: This test call the getAlignment method of the PlugletTagInfo2 object
|
||||
at runstages, specified at TestProperties file.
|
||||
Method getAlignment has 0 arguments, so in this test dir
|
||||
file ParamCombinations and TestParameters isn't present.
|
||||
|
||||
Results: See the PlugletTest.log and PlugletTest.res in
|
||||
the $MOZILLA_FIVE_HOME/bin directory and additional logs in the
|
||||
PLUGLET_TEST_DIR/log directory
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE
|
||||
ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getAlignment_Iterator
|
||||
TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getAlignment_0
|
||||
TEST_HTML=api/PlugletTagInfo2_getAlignment_bottom/PlugletTagInfo2_getAlignment_bottom.html
|
||||
EXPECTED_VALUE=bottom
|
||||
PLUGLET=<TEST_TOP_DIR><FSEP>build<FSEP>classes<FSEP>org<FSEP>mozilla<FSEP>pluglet<FSEP>test<FSEP>basic<FSEP>api<FSEP>TestAPIPluglet.jar
|
||||
@@ -0,0 +1,45 @@
|
||||
#!nmake
|
||||
#
|
||||
# The contents of this file are subject to the Mozilla Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/MPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Sun Microsystems,
|
||||
# Inc. Portions created by Sun are
|
||||
# Copyright (C) 1999 Sun Microsystems, Inc. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
|
||||
TEST_NAME=PlugletTagInfo2_getAlignment_bottom
|
||||
DEPTH=..\..\..\..\..\..\..\..
|
||||
UTIL_DIR=$(DEPTH)\utils
|
||||
BUILD_DIR=$(DEPTH)\build
|
||||
CONFIG_FILE=$(DEPTH)\config\CommonProperties
|
||||
BASIC_PATH=test\basic\api
|
||||
DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME)
|
||||
MAKE_PARAM=..\makeParameters.pl
|
||||
MAKE_COMB=..\makeCombinations.pl
|
||||
|
||||
default: all
|
||||
all: html properties
|
||||
html:
|
||||
@xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I
|
||||
|
||||
properties:
|
||||
@-1 mkdir $(DEST_DIR)
|
||||
@perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties
|
||||
combinations:
|
||||
echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG
|
||||
clobber:
|
||||
@del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html
|
||||
@del $(DEST_DIR)\TestProperties
|
||||
@@ -0,0 +1,44 @@
|
||||
# The contents of this file are subject to the Mozilla Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/MPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Sun Microsystems,
|
||||
# Inc. Portions created by Sun are
|
||||
# Copyright (C) 1999 Sun Microsystems, Inc. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
|
||||
TEST_NAME=PlugletTagInfo2_getAlignment_middle
|
||||
DEPTH=../../../../../../../..
|
||||
UTIL_DIR=$(DEPTH)/utils
|
||||
BUILD_DIR=$(DEPTH)/build
|
||||
CONFIG_FILE=$(DEPTH)/config/CommonProperties
|
||||
BASIC_PATH=test/basic/api
|
||||
DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME)
|
||||
MAKE_PARAM=perl ../makeParameters.pl
|
||||
MAKE_COMB=perl ../makeCombinations.pl
|
||||
|
||||
default: all
|
||||
all: html properties
|
||||
html:
|
||||
@mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME)
|
||||
@cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME)
|
||||
|
||||
properties:
|
||||
@mkdir -p $(DEST_DIR)
|
||||
@perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties
|
||||
combinations:
|
||||
echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE)
|
||||
clobber:
|
||||
@rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html
|
||||
@rm -f $(DEST_DIR)/TestProperties
|
||||
@@ -0,0 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<center><H1>Depth 0</H1></center>
|
||||
<blockquote>This window contains a pluglet PlugletTagInfo2_getAlignment_middle test.</blockquote>
|
||||
<EMBED type="application/x-api-pluglet" name="test" width=100 height=100 align="middle">
|
||||
</body>
|
||||
</hmtl>
|
||||
@@ -0,0 +1,18 @@
|
||||
PlugletTagInfo2_getAlignment_middle Information.
|
||||
|
||||
Test name: PlugletTagInfo2_getAlignment_middle
|
||||
|
||||
Synopsis: getAlignment method of class PlugletTagInfo2
|
||||
|
||||
Pre-Conditions: Build mozilla, setup enviroment as for running mozilla
|
||||
and see api tests README for setup enviroment for run tests.
|
||||
|
||||
Description: This test call the getAlignment method of the PlugletTagInfo2 object
|
||||
at runstages, specified at TestProperties file.
|
||||
Method getAlignment has 0 arguments, so in this test dir
|
||||
file ParamCombinations and TestParameters isn't present.
|
||||
|
||||
Results: See the PlugletTest.log and PlugletTest.res in
|
||||
the $MOZILLA_FIVE_HOME/bin directory and additional logs in the
|
||||
PLUGLET_TEST_DIR/log directory
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE
|
||||
ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getAlignment_Iterator
|
||||
TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getAlignment_0
|
||||
TEST_HTML=api/PlugletTagInfo2_getAlignment_middle/PlugletTagInfo2_getAlignment_middle.html
|
||||
EXPECTED_VALUE=center
|
||||
PLUGLET=<TEST_TOP_DIR><FSEP>build<FSEP>classes<FSEP>org<FSEP>mozilla<FSEP>pluglet<FSEP>test<FSEP>basic<FSEP>api<FSEP>TestAPIPluglet.jar
|
||||
@@ -0,0 +1,45 @@
|
||||
#!nmake
|
||||
#
|
||||
# The contents of this file are subject to the Mozilla Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/MPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Sun Microsystems,
|
||||
# Inc. Portions created by Sun are
|
||||
# Copyright (C) 1999 Sun Microsystems, Inc. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
|
||||
TEST_NAME=PlugletTagInfo2_getAlignment_middle
|
||||
DEPTH=..\..\..\..\..\..\..\..
|
||||
UTIL_DIR=$(DEPTH)\utils
|
||||
BUILD_DIR=$(DEPTH)\build
|
||||
CONFIG_FILE=$(DEPTH)\config\CommonProperties
|
||||
BASIC_PATH=test\basic\api
|
||||
DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME)
|
||||
MAKE_PARAM=..\makeParameters.pl
|
||||
MAKE_COMB=..\makeCombinations.pl
|
||||
|
||||
default: all
|
||||
all: html properties
|
||||
html:
|
||||
@xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I
|
||||
|
||||
properties:
|
||||
@-1 mkdir $(DEST_DIR)
|
||||
@perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties
|
||||
combinations:
|
||||
echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG
|
||||
clobber:
|
||||
@del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html
|
||||
@del $(DEST_DIR)\TestProperties
|
||||
@@ -0,0 +1,44 @@
|
||||
# The contents of this file are subject to the Mozilla Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/MPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Sun Microsystems,
|
||||
# Inc. Portions created by Sun are
|
||||
# Copyright (C) 1999 Sun Microsystems, Inc. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
|
||||
TEST_NAME=PlugletTagInfo2_getAlignment_top
|
||||
DEPTH=../../../../../../../..
|
||||
UTIL_DIR=$(DEPTH)/utils
|
||||
BUILD_DIR=$(DEPTH)/build
|
||||
CONFIG_FILE=$(DEPTH)/config/CommonProperties
|
||||
BASIC_PATH=test/basic/api
|
||||
DEST_DIR=$(BUILD_DIR)/$(BASIC_PATH)/$(TEST_NAME)
|
||||
MAKE_PARAM=perl ../makeParameters.pl
|
||||
MAKE_COMB=perl ../makeCombinations.pl
|
||||
|
||||
default: all
|
||||
all: html properties
|
||||
html:
|
||||
@mkdir -p $(HTML_DEST_DIR)/$(TEST_NAME)
|
||||
@cp -f *.html $(HTML_DEST_DIR)/$(TEST_NAME)
|
||||
|
||||
properties:
|
||||
@mkdir -p $(DEST_DIR)
|
||||
@perl $(UTIL_DIR)/configurator.pl $(CONFIG_FILE) $(DEST_DIR)/TestProperties TestProperties
|
||||
combinations:
|
||||
echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)/$(COMMON_LST_FILE)
|
||||
clobber:
|
||||
@rm -f $(HTML_DEST_DIR)/$(TEST_NAME)/*.html
|
||||
@rm -f $(DEST_DIR)/TestProperties
|
||||
@@ -0,0 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
<center><H1>Depth 0</H1></center>
|
||||
<blockquote>This window contains a pluglet PlugletTagInfo2_getAlignment_top test.</blockquote>
|
||||
<EMBED type="application/x-api-pluglet" name="test" width=100 height=100 align="top">
|
||||
</body>
|
||||
</hmtl>
|
||||
@@ -0,0 +1,18 @@
|
||||
PlugletTagInfo2_getAlignment_top Information.
|
||||
|
||||
Test name: PlugletTagInfo2_getAlignment_top
|
||||
|
||||
Synopsis: getAlignment method of class PlugletTagInfo2
|
||||
|
||||
Pre-Conditions: Build mozilla, setup enviroment as for running mozilla
|
||||
and see api tests README for setup enviroment for run tests.
|
||||
|
||||
Description: This test call the getAlignment method of the PlugletTagInfo2 object
|
||||
at runstages, specified at TestProperties file.
|
||||
Method getAlignment has 0 arguments, so in this test dir
|
||||
file ParamCombinations and TestParameters isn't present.
|
||||
|
||||
Results: See the PlugletTest.log and PlugletTest.res in
|
||||
the $MOZILLA_FIVE_HOME/bin directory and additional logs in the
|
||||
PLUGLET_TEST_DIR/log directory
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
RUN_STAGES=PLUGLET_INSTANCE_INITIALIZE
|
||||
ITERATOR_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getAlignment_Iterator
|
||||
TEST_CLASS=org.mozilla.pluglet.test.basic.api.PlugletTagInfo2_getAlignment_0
|
||||
TEST_HTML=api/PlugletTagInfo2_getAlignment_top/PlugletTagInfo2_getAlignment_top.html
|
||||
EXPECTED_VALUE=top
|
||||
PLUGLET=<TEST_TOP_DIR><FSEP>build<FSEP>classes<FSEP>org<FSEP>mozilla<FSEP>pluglet<FSEP>test<FSEP>basic<FSEP>api<FSEP>TestAPIPluglet.jar
|
||||
@@ -0,0 +1,45 @@
|
||||
#!nmake
|
||||
#
|
||||
# The contents of this file are subject to the Mozilla Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/MPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Sun Microsystems,
|
||||
# Inc. Portions created by Sun are
|
||||
# Copyright (C) 1999 Sun Microsystems, Inc. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
|
||||
TEST_NAME=PlugletTagInfo2_getAlignment_top
|
||||
DEPTH=..\..\..\..\..\..\..\..
|
||||
UTIL_DIR=$(DEPTH)\utils
|
||||
BUILD_DIR=$(DEPTH)\build
|
||||
CONFIG_FILE=$(DEPTH)\config\CommonProperties
|
||||
BASIC_PATH=test\basic\api
|
||||
DEST_DIR=$(BUILD_DIR)\$(BASIC_PATH)\$(TEST_NAME)
|
||||
MAKE_PARAM=..\makeParameters.pl
|
||||
MAKE_COMB=..\makeCombinations.pl
|
||||
|
||||
default: all
|
||||
all: html properties
|
||||
html:
|
||||
@xcopy *.html $(HTML_DEST_DIR)\$(TEST_NAME) /I
|
||||
|
||||
properties:
|
||||
@-1 mkdir $(DEST_DIR)
|
||||
@perl $(UTIL_DIR)\configurator.pl $(CONFIG_FILE) $(DEST_DIR)\TestProperties TestProperties
|
||||
combinations:
|
||||
echo basic/api/$(TEST_NAME)>>$(BUILD_DIR)\$(BASIC_PATH)\BWTest.lst.ORIG
|
||||
clobber:
|
||||
@del $(HTML_DEST_DIR)\$(TEST_NAME)\*.html
|
||||
@del $(DEST_DIR)\TestProperties
|
||||
Reference in New Issue
Block a user