forked from liferay/liferay-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2bda6f2
commit 435fdeb
Showing
8 changed files
with
144 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...ctional/com/liferay/portalweb2/development/tools/testinginfrastructure/AntTarget.testcase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<definition component-name="portal-tools"> | ||
<command name="changeSystemTime" priority="5"> | ||
<var name="hours" value="3" /> | ||
|
||
<execute action="BaseLiferay#commandLineAntTarget" locator1="build-test.xml" value1="change-system-time -Dhours=${hours}" /> | ||
|
||
<execute macro="User#firstLoginPG" /> | ||
|
||
<execute action="BaseLiferay#commandLineAntTarget" locator1="build-test.xml" value1="change-system-time-to-default" /> | ||
</command> | ||
|
||
<command name="shutDownStartUpAppServer" priority="5"> | ||
<execute action="BaseLiferay#commandLineAntTarget" locator1="build-test.xml" value1="shutdown-appserver" /> | ||
<execute action="BaseLiferay#commandLineAntTarget" locator1="build-test.xml" value1="startup-appserver" /> | ||
|
||
<execute macro="User#firstLoginPG" /> | ||
</command> | ||
</definition> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
.../test/functional/com/liferay/portalweb2/util/block/function/CommandLineAntTarget.function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<definition> | ||
<command name="commandLineAntTarget"> | ||
<execute selenium="commandLineAntTarget" /> | ||
</command> | ||
</definition> |