Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull request test #15

Open
wants to merge 315 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
315 commits
Select commit Hold shift + click to select a range
38099a8
remove MyFile-29-14_15_19.txt
elokshin Oct 30, 2019
0201709
Add MyFile-30-14_17_37.txt to branch master
elokshin Oct 30, 2019
79304fa
remove MyFile-30-14_17_37.txt
elokshin Oct 30, 2019
654a793
Add MyFIle.txt to branch Master
Oct 30, 2019
e9b40df
remove MyFile.txt
Oct 30, 2019
60c7836
Add MyFIle.txt to branch Master
Oct 30, 2019
ae6d697
remove MyFile.txt
Oct 30, 2019
6fb1400
Add MyFIle.txt to branch Master
Oct 30, 2019
50376d1
remove MyFile.txt
Oct 30, 2019
ab15563
Add MyFIle.txt to branch Master
Oct 30, 2019
13f0622
remove MyFile.txt
Oct 30, 2019
2c50a76
Add MyFIle.txt to branch Master
Oct 30, 2019
9c4317e
remove MyFile.txt
Oct 30, 2019
71528ea
Add MyFIle.txt to branch Master
Oct 30, 2019
9611233
remove MyFile.txt
Oct 30, 2019
626dad4
Add MyFIle.txt to branch Master
Oct 30, 2019
2394234
remove MyFile.txt
Oct 30, 2019
326b9e7
Add MyFIle.txt to branch Master
Oct 30, 2019
14a6d9f
remove MyFile.txt
Oct 30, 2019
90c59fe
Add MyFIle.txt to branch Master
Oct 30, 2019
d88d880
remove MyFile.txt
Oct 30, 2019
43f27d0
Add MyFIle.txt to branch Master
Oct 30, 2019
2d084aa
remove MyFile.txt
Oct 30, 2019
97fa8a4
Add MyFIle.txt to branch Master
Oct 30, 2019
c31e888
remove MyFile.txt
Oct 30, 2019
d360ba3
Add MyFIle.txt to branch Master
Oct 30, 2019
bb0f5cb
remove MyFile.txt
Oct 30, 2019
3e85a23
Add MyFIle.txt to branch Master
Oct 30, 2019
09f2aaf
remove MyFile.txt
Oct 30, 2019
7ef2869
Add MyFIle.txt to branch Master
Nov 1, 2019
bd418e0
remove MyFile.txt
Nov 1, 2019
11e3283
Add MyFIle.txt to branch Master
Nov 3, 2019
a03d586
remove MyFile.txt
Nov 3, 2019
80acf94
Add MyFIle.txt to branch Master
Nov 4, 2019
b5ea336
remove MyFile.txt
Nov 4, 2019
9b91b8a
Add MyFIle.txt to branch Master
Nov 6, 2019
eee40e9
remove MyFile.txt
Nov 6, 2019
17c1c66
Add MyFIle.txt to branch Master
Nov 7, 2019
76a35ec
remove MyFile.txt
Nov 7, 2019
8ea3d8d
quality story #899012. Rename Long Test
elokshin Nov 7, 2019
ffa58c1
Add MyFile-232-15_43_04.txt to branch master
elokshin Nov 7, 2019
9b7976f
remove MyFile-232-15_43_04.txt
elokshin Nov 7, 2019
2543fc8
Merge pull request #2 from elokshin/feature-br1
elokshin Nov 7, 2019
50939a9
quality story #899012. Rename Long Test
elokshin Nov 7, 2019
7dbbee3
Add MyFile-233-16_01_11.txt to branch master
elokshin Nov 7, 2019
3b4b6e1
remove MyFile-233-16_01_11.txt
elokshin Nov 7, 2019
a4fb070
Add MyFile-234-16_02_27.txt to branch master
elokshin Nov 7, 2019
63c948b
remove MyFile-234-16_02_27.txt
elokshin Nov 7, 2019
1db694d
Add MyFile-236-16_09_19.txt to branch master
elokshin Nov 7, 2019
8e8c66d
remove MyFile-236-16_09_19.txt
elokshin Nov 7, 2019
565e0dc
Merge pull request #1 from kika0811/patch-2
elokshin Nov 7, 2019
8769581
Add MyFile-237-11_07_39.txt to branch master
elokshin Nov 10, 2019
985db48
remove MyFile-237-11_07_39.txt
elokshin Nov 10, 2019
b7a4f6b
quality story #899012. Rename Long Test
elokshin Nov 10, 2019
8ae469b
Merge pull request #3 from elokshin/feature-br1
elokshin Nov 10, 2019
cfea7a2
Add MyFIle.txt to branch Master
Nov 13, 2019
dee0c83
remove MyFile.txt
Nov 13, 2019
74c9ba8
US #2003. my user story
elokshin Nov 13, 2019
3a7501c
US #2003. my user story
elokshin Nov 13, 2019
38cabf6
Add MyFile-238-09_24_34.txt to branch master
elokshin Nov 13, 2019
d83cf07
remove MyFile-238-09_24_34.txt
elokshin Nov 13, 2019
ccf02e6
Add MyFile-239-09_41_02.txt to branch master
elokshin Nov 13, 2019
1745bfa
remove MyFile-239-09_41_02.txt
elokshin Nov 13, 2019
132e95e
Merge branch 'feature-br1'
elokshin Nov 13, 2019
1c15207
Add MyFile-240-09_44_50.txt to branch master
elokshin Nov 13, 2019
be261ae
remove MyFile-240-09_44_50.txt
elokshin Nov 13, 2019
dea43e9
US #2003: my user story
elokshin Nov 13, 2019
88c7aae
Merge branch 'master' of https://github.com/elokshin/hpe-demo-app
elokshin Nov 13, 2019
fe4a999
US #2003: my user story
elokshin Nov 13, 2019
34a4d1a
US #2003: my user story
elokshin Nov 13, 2019
2de6b5c
user story #2003: my user story
elokshin Nov 13, 2019
2e04b5b
user story #2003: my user story
elokshin Nov 13, 2019
ff9e4bd
Add MyFile-241-09_58_12.txt to branch master
elokshin Nov 13, 2019
e3faca3
remove MyFile-241-09_58_12.txt
elokshin Nov 13, 2019
9c223bc
Add MyFIle.txt to branch Master
Nov 14, 2019
eef769d
remove MyFile.txt
Nov 14, 2019
fe0b2ca
user story #2003: my user story
elokshin Nov 14, 2019
324d636
Merge branch 'master' of https://github.com/elokshin/hpe-demo-app
elokshin Nov 14, 2019
d77b0d3
Add MyFile-31-14_06_43.txt to branch master
elokshin Nov 14, 2019
a338987
remove MyFile-31-14_06_43.txt
elokshin Nov 14, 2019
30e3fda
Add MyFile-32-14_14_17.txt to branch master
elokshin Nov 14, 2019
d0e5c4a
remove MyFile-32-14_14_17.txt
elokshin Nov 14, 2019
8fc4be0
Add MyFile-33-14_16_31.txt to branch master
elokshin Nov 14, 2019
25f6f0e
remove MyFile-33-14_16_31.txt
elokshin Nov 14, 2019
fb32d27
Add MyFIle.txt to branch Master
Nov 18, 2019
847bae0
remove MyFile.txt
Nov 18, 2019
5ec2050
Add MyFIle.txt to branch Master
Nov 18, 2019
a5e01b7
remove MyFile.txt
Nov 18, 2019
a40b89e
Add MyFIle.txt to branch Master
Nov 19, 2019
2bd2a3f
remove MyFile.txt
Nov 19, 2019
3ac7856
Add MyFIle.txt to branch Master
Nov 19, 2019
81037f2
remove MyFile.txt
Nov 19, 2019
ed843e8
Add MyFIle.txt to branch Master
Nov 19, 2019
a8e986f
remove MyFile.txt
Nov 19, 2019
1e6ce46
Add MyFile-34-16_29_21.txt to branch master
elokshin Nov 19, 2019
dcc160a
remove MyFile-34-16_29_21.txt
elokshin Nov 19, 2019
2edd13e
Add MyFIle.txt to branch Master
Nov 20, 2019
ad0e16d
remove MyFile.txt
Nov 20, 2019
0cf9356
Add MyFile-35-09_12_49.txt to branch master
elokshin Nov 20, 2019
1d984ae
remove MyFile-35-09_12_49.txt
elokshin Nov 20, 2019
011291f
Add MyFIle.txt to branch Master
Nov 20, 2019
a41284e
remove MyFile.txt
Nov 20, 2019
fc1ab03
Add MyFIle.txt to branch Master
Nov 21, 2019
edeaefe
remove MyFile.txt
Nov 21, 2019
a5aacd4
Add MyFIle.txt to branch Master
Nov 24, 2019
d3e9420
remove MyFile.txt
Nov 24, 2019
cc9ad8d
Add MyFIle.txt to branch Master
Nov 25, 2019
8dcb82f
remove MyFile.txt
Nov 25, 2019
6d98f14
Add MyFIle.txt to branch Master
Nov 26, 2019
68d57dc
remove MyFile.txt
Nov 26, 2019
6465fad
Add MyFIle.txt to branch Master
Nov 26, 2019
b3f5c46
remove MyFile.txt
Nov 26, 2019
f314d8f
Add MyFIle.txt to branch Master
Nov 27, 2019
89d2172
remove MyFile.txt
Nov 27, 2019
dfedf4b
Add MyFIle.txt to branch Master
Nov 27, 2019
61474ae
remove MyFile.txt
Nov 27, 2019
42de7b3
Add MyFIle.txt to branch Master
Nov 27, 2019
08ef579
remove MyFile.txt
Nov 27, 2019
7b463fb
Add MyFIle.txt to branch Master
Nov 28, 2019
37f4f7a
remove MyFile.txt
Nov 28, 2019
cffc18a
Add MyFIle.txt to branch Master
Nov 28, 2019
f113c11
remove MyFile.txt
Nov 28, 2019
bd368f8
Add MyFile-242-15_13_44.txt to branch master
elokshin Nov 28, 2019
7ba8e47
remove MyFile-242-15_13_44.txt
elokshin Nov 28, 2019
99574bf
user story #2003: my user story
elokshin Nov 28, 2019
14f165b
user story #2003: my user story
elokshin Nov 28, 2019
85bfa25
Add MyFIle.txt to branch Master
Nov 29, 2019
442f29e
remove MyFile.txt
Nov 29, 2019
e7b634b
Add MyFIle.txt to branch Master
Nov 30, 2019
32740f4
remove MyFile.txt
Nov 30, 2019
85f5737
Add MyFIle.txt to branch Master
Dec 1, 2019
73e57e3
remove MyFile.txt
Dec 1, 2019
87b83ed
Add MyFIle.txt to branch Master
Dec 2, 2019
b7e5e46
remove MyFile.txt
Dec 2, 2019
6c94c38
Set up CI with Azure Pipelines
elokshin Dec 17, 2019
04114b8
user story #2003: my user story
elokshin Dec 18, 2019
6ae35ed
user story #2003: my user story 2
elokshin Dec 18, 2019
98e55af
Merge branch 'master' of https://github.com/elokshin/hpe-demo-app
elokshin Dec 18, 2019
71dd0fc
Delete azure-pipelines-1.yml
elokshin Dec 18, 2019
4a1fcb8
Add MyFile-36-13_49_13.txt to branch master
elokshin Dec 19, 2019
4a206fe
remove MyFile-36-13_49_13.txt
elokshin Dec 19, 2019
9769d03
Add MyFile-37-14_14_36.txt to branch master
elokshin Dec 19, 2019
a164feb
remove MyFile-37-14_14_36.txt
elokshin Dec 19, 2019
8e119e9
Defect #3258: evgeny_defect
elokshin Jan 2, 2020
88394da
Merge branch 'master' of https://github.com/elokshin/hpe-demo-app
elokshin Jan 2, 2020
0bafd4e
US #4208: Evgeny_US
elokshin Jan 2, 2020
38bb7fd
user story #4208: Evgeny_US
elokshin Jan 2, 2020
58b2275
Update azure-pipelines.yml
mstekel Jan 7, 2020
d80c67f
Update azure-pipelines.yml for Azure Pipelines
mstekel Jan 7, 2020
88882bc
Update azure-pipelines.yml for Azure Pipelines
mstekel Jan 7, 2020
2eb9f9b
Add MyFIle.txt to branch Master
Jan 19, 2020
615bdd9
remove MyFile.txt
Jan 19, 2020
a98d2a4
Add MyFIle.txt to branch Master
Jan 19, 2020
c836198
remove MyFile.txt
Jan 19, 2020
1c85c3b
Add MyFIle.txt to branch Master
Jan 19, 2020
593077c
remove MyFile.txt
Jan 19, 2020
3b9c6a5
Add MyFile-243-15_24_49.txt to branch master
elokshin Jan 27, 2020
bd1548d
remove MyFile-243-15_24_49.txt
elokshin Jan 27, 2020
471fa14
user story #4208: Evgeny_US
elokshin Jan 27, 2020
fe9b49e
Merge branch 'master' of https://github.com/elokshin/hpe-demo-app
elokshin Jan 27, 2020
26aa247
Add MyFile-244-15_33_19.txt to branch master
elokshin Jan 27, 2020
ae94806
remove MyFile-244-15_33_19.txt
elokshin Jan 27, 2020
feb7f51
user story #4208: Evgeny_US
elokshin Jan 28, 2020
7078c29
Add MyFile-245-12_35_06.txt to branch master
elokshin Jan 28, 2020
b9c69b3
remove MyFile-245-12_35_06.txt
elokshin Jan 28, 2020
27042b1
Add MyFile-246-15_23_47.txt to branch master
elokshin Feb 11, 2020
1516d63
remove MyFile-246-15_23_47.txt
elokshin Feb 11, 2020
2e06377
defect #1004. update Path.txt
elokshin Feb 12, 2020
3d9034f
user story #4208: Evgeny_US
elokshin Feb 12, 2020
29c6e26
defect #1004: test
elokshin Feb 12, 2020
a2c20ec
user story #1007: test 123
elokshin Feb 12, 2020
86bc5d9
user story #1002 Evgeny_US
elokshin Feb 17, 2020
7e08300
Merge pull request #7 from elokshin/master_pr
elokshin Feb 17, 2020
67d0a43
user story #1002 Evgeny_US
elokshin Feb 17, 2020
e4d28da
user story #1002 Evgeny_US
elokshin Feb 17, 2020
bffc350
user story #1002 Evgeny_US
elokshin Feb 17, 2020
2fe896a
user story #1003 Evgeny_US
elokshin Feb 17, 2020
20c3603
user story #1003 Evgeny_US
elokshin Feb 17, 2020
422cc28
user story #1003 Evgeny_US
elokshin Feb 17, 2020
90a505e
user story #1003 Evgeny_US
elokshin Feb 17, 2020
daa8bf2
user story #1003 Evgeny_US
elokshin Feb 17, 2020
cf0f26d
user story #1003 Evgeny_US
elokshin Feb 17, 2020
e3e7401
user story #1003 Evgeny_US
elokshin Feb 18, 2020
2e1a158
user story #1003 Evgeny_US
elokshin Feb 18, 2020
2bc6006
Merge pull request #9 from elokshin/master_pr
elokshin Feb 18, 2020
9514671
Merge pull request #6 from elokshin/patch-5
elokshin Feb 18, 2020
76e65a4
Set up CI with Azure Pipelines
elokshin Feb 20, 2020
1472964
Update azure-pipelines.yml for Azure Pipelines
elokshin Feb 20, 2020
da54baa
Update azure-pipelines.yml for Azure Pipelines
elokshin Feb 23, 2020
1e77c2a
Update azure-pipelines.yml for Azure Pipelines
elokshin Feb 23, 2020
c8a4a7b
Update azure-pipelines.yml for Azure Pipelines
elokshin Mar 16, 2020
aa28b12
Update azure-pipelines.yml for Azure Pipelines
elokshin Mar 16, 2020
9fe8166
Add MyFile-247-15_58_46.txt to branch master
elokshin Mar 30, 2020
23d8cca
remove MyFile-247-15_58_46.txt
elokshin Mar 30, 2020
124c888
user story #957025: Evgeny_US
elokshin Apr 2, 2020
1759c2a
quality story #956023: Evgeny_QS
elokshin Apr 2, 2020
4e427d6
defect #956024: Evgeny_DEF
elokshin Apr 2, 2020
8aba304
Merge branch 'master_pr'
elokshin Apr 5, 2020
067e047
defect #956024: Evgeny_DEF
elokshin Apr 5, 2020
2aaffac
Merge branch 'master_pr'
elokshin Apr 5, 2020
7eb9d9f
defect #956024: Evgeny_DEF
elokshin Apr 5, 2020
4cc4dd6
defect #956024: Evgeny_DEF
elokshin Apr 5, 2020
e90b920
defect #956024: Evgeny_DEF
elokshin Apr 5, 2020
9e551be
Merge branch 'master_pr'
elokshin Apr 5, 2020
d756375
defect #956024: Evgeny_DEF
elokshin Apr 6, 2020
4718309
defect #956024: Evgeny_DEF
elokshin Apr 6, 2020
8e61c6a
Merge branch 'master_pr'
elokshin Apr 6, 2020
cdefbb9
Add MyFile-248-11_19_49.txt to branch master
elokshin Apr 6, 2020
0636a88
remove MyFile-248-11_19_49.txt
elokshin Apr 6, 2020
ea24709
Update azure-pipelines.yml for Azure Pipelines
elokshin Apr 21, 2020
f0ded5b
Update azure-pipelines.yml for Azure Pipelines
elokshin Apr 21, 2020
bb96435
Update azure-pipelines.yml for Azure Pipelines
elokshin Apr 21, 2020
ac65f0a
Update azure-pipelines.yml for Azure Pipelines
elokshin May 6, 2020
1e4230b
defect #956024: Evgeny_DEF
elokshin May 6, 2020
25ae393
defect #956024: Evgeny_DEF
elokshin May 6, 2020
784f586
defect #956024: Evgeny2
elokshin May 6, 2020
5441e2b
Merge branch 'master' of https://github.com/elokshin/hpe-demo-app
elokshin May 6, 2020
d49d8ed
Add MyFile-249-13_12_41.txt to branch master
elokshin May 7, 2020
304362c
remove MyFile-249-13_12_41.txt
elokshin May 7, 2020
ce84f84
Add MyFile-250-14_19_13.txt to branch master
elokshin May 7, 2020
3d10e1b
remove MyFile-250-14_19_13.txt
elokshin May 7, 2020
b322011
Update azure-pipelines.yml for Azure Pipelines
elokshin May 27, 2020
44cdbed
defect #956024: Evgeny2
elokshin May 27, 2020
fcb96fa
defect #956024: Evgeny2
elokshin May 27, 2020
a1d7398
user story #1011142: my user story
elokshin Jun 7, 2020
5c240d6
user story #1021207: aksdjfhakghajkh
elokshin Jul 12, 2020
a97d8df
quality story #1021208: aksdjhaksjgh
elokshin Jul 12, 2020
7417015
quality story #1021208: aksdjhaksjgh
elokshin Jul 12, 2020
5ef9374
user story #1021207: aksdjfhakghajkh
elokshin Jul 12, 2020
d378caa
user story #1021207: a11111111111
elokshin Jul 12, 2020
a3c24e5
quality story #1021208: 222222
elokshin Jul 12, 2020
ba76e64
my commit
elokshin Jul 12, 2020
dc8b3f2
defect #956024: Evgeny2
elokshin Jul 13, 2020
4cf4747
defect #956024: Evgeny2
elokshin Jul 13, 2020
c85f980
user story #1021207. test1
elokshin Jul 13, 2020
f707c36
quality story #1021208: QS2
elokshin Jul 13, 2020
b6c1297
quality story #1021208: QS2
elokshin Jul 14, 2020
53e5645
user story #1053020. user story 11111111
elokshin Aug 20, 2020
a24eade
user story #1053020. user story 11111111
elokshin Aug 20, 2020
d7a4d7f
Set up CI with Azure Pipelines
elokshin Aug 20, 2020
71fc867
user story #1070011: user story 11111111
elokshin Sep 3, 2020
4daf798
quality story #1071009: aaaaa
elokshin Sep 3, 2020
f4682e5
Merge branch 'master' of https://github.com/elokshin/hpe-demo-app
elokshin Sep 3, 2020
a8beaa1
quality story #1071009: aaaaa
elokshin Sep 3, 2020
0eb14d3
Update azure-pipelines.yml for Azure Pipelines
elokshin Sep 8, 2020
5d9258d
Update azure-pipelines.yml for Azure Pipelines
elokshin Sep 10, 2020
2933783
defect #1069013: test TC
elokshin Oct 1, 2020
38cfddf
quality story #1071009: aaaaa
elokshin Oct 12, 2020
7bddc43
Merge branch 'master' of https://github.com/elokshin/hpe-demo-app
elokshin Oct 12, 2020
03a3976
Branch commit
elokshin Dec 23, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code..
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

variables:
InjectAlmOctaneTasks: 'true'
AlmOctaneConnection11: 'qa9'
AlmOctaneConnection11Workspaces: '31006'
ALMOctaneLogLevel: 'debug'
system.debug: 'true'
system.debugContext: 'true'
GithubRepositoryConnection: 'elokshin'

jobs:
- job: AlmOctanePipelineStart
condition: always()

- job: A
steps:
- bash: echo $(Build.SourceBranchName)
displayName: 'Run a one-line script'
dependsOn:
- AlmOctanePipelineStart

- job: B
dependsOn: AlmOctanePipelineStart
pool:
vmImage: 'ubuntu-latest'
steps:
- task: Maven@3
inputs:
mavenPomFile: 'pom.xml'
mavenOptions: '-Xmx3072m'
javaHomeOption: 'JDKVersion'
jdkVersionOption: '1.8'
jdkArchitectureOption: 'x64'
publishJUnitResults: true
testResultsFiles: '**/surefire-reports/TEST-*.xml'
goals: 'package'

- job: AlmOctanePipelineEnd
condition: always()
dependsOn:
- AlmOctanePipelineStart
- A
- B
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,12 @@ public void testGetBands() throws Exception {
public void testReloadDb() throws Exception {
spec.log().all().expect().statusCode(200).contentType(ContentType.TEXT).body(equalTo("done")).get("/reloadDB");
}


@Test
public void testWithVeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeryLoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooongNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaame(){
System.out.println("This is a test with a very long name");
}

@Test
public void testVoteForBand() throws Exception {
String response1 = spec.log().all().expect().statusCode(200).when().put("/band/1/vote").asString();
Expand Down
Empty file.
1 change: 1 addition & 0 deletions paths.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
C:\Users\vaingart\workspace\indi-integrations\jenkins\plugin\work\jobs\hp_example\workspace\ui-tests\target\nga-surefire-listener

2 changes: 1 addition & 1 deletion redme/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ rerw
gfsdgdfd
test3466ttt
3245trw
gfdgdfkjlj
gfdgdfkjl

34 changes: 34 additions & 0 deletions run.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
@echo off
rem This is a custom script written by TeamCity using windows-1252 charset.
@echo off
echo "The current directory is %CD%"
git config --global user.email "[email protected]"
git config --global user.name "lokshin"

set checkoutDir= C:\TeamCity\buildAgent\work\d512b84dc2f018e1
echo "checkoutDir: %checkoutDir%"

echo "===== create a new file and push to git ======"

set hour=%time:~0,2%
if "%hour:~0,1%" == " " set hour=0%hour:~1,1%

set "datetimef=%hour%_%time:~3,2%_%time:~6,2%"
set filename=MyFile-%BUILD_NUMBER%-%datetimef%.txt
set full_filename=%checkoutDir%\%filename%
echo "%full_filename% was created"

rem cd %checkoutDir%

echo "this is my awesome text file" > %filename%
git add .
echo "git commit -m "Add %filename% to branch Master""
git commit -m "Add %filename% to branch Master"
call git push -u origin master --verbose

echo "remove %filename% from git repo"
git rm %filename%
echo "git commit -m "remove %filename%" --author="_alm_octane_auto <[email protected]>""
git commit -m "remove %filename%"
echo "git push origin master"
call git push -u origin master --verbose
2 changes: 2 additions & 0 deletions test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sasgafgfgdfh
11
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* User: gullery
* Date: 03/12/15
* Time: 15:50
*
* To change this template use File | Settings | File Templates.
*/
public class TestSuiteA {
Expand Down Expand Up @@ -88,6 +89,7 @@ public void testCase1() {
Assert.assertEquals(query.isDisplayed(), true);
}


@Test
public void testCase2() {
System.out.println("Proudly running test " + Thread.currentThread().getStackTrace()[1]);
Expand Down Expand Up @@ -117,4 +119,4 @@ public void testCase3() {
public void afterClass() {
driver.quit();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ private void setUP() {
appUrl = autHost + ":" + autPort;
}
else {
proxyHost = "";
proxyPort = "";
proxyHost = "";
proxyPort = "";
autHost = "http://myd-vm02771.hpswlabs.adapps.hp.com";
autPort = "8080";
appUrl = autHost + ":" + autPort + "/jenkins";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
*/
public interface SpecialTests {
//addgin commnets

}
11 changes: 8 additions & 3 deletions ui-tests/src/test/java/com/hp/devops/demoapp/tests/ui/TestA.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class TestA {
static private boolean isBehindProxy = false;
static private String testProxy;
static private String appUrl;

//comment
@BeforeClass
static public void beforeAll() {

Expand All @@ -52,7 +52,7 @@ static public void beforeAll() {
System.out.println("testProxy is " + testProxy + "; can be modified via environment variable, i.e., 'export testproxy=web-proxy.bbn.hp.com:8080'");
}
else {
System.out.println("We do not use proxy.");
System.out.println("We do not use proxy!?");
}

if (isBehindProxy) {
Expand All @@ -68,7 +68,7 @@ static public void beforeAll() {
if (System.getProperty("appUrl") != null) {
appUrl = System.getProperty("appUrl");
}
System.out.println("App URL is " + appUrl + "; can be modifed via system property, i.e., '-DappUrl=\"http://54.146.140.70:9000\"'");
System.out.println("App URL is " + appUrl + "; can be modifed via system property, i.e., '-DappUrl=\"http://54.146.140.70:9000\"'");

driver.get(appUrl);

Expand All @@ -89,6 +89,11 @@ public void testUIcaseA() {
Assert.assertEquals(query.isDisplayed(), true);
}

@Test
public void testWithVeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeryLoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooongNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaame(){
System.out.println("This is a test with a very long name");
}

@Category(SpecialTests.class)
@Test
@Ignore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static void setUpBeforeClass() throws Exception {
System.out.println("testProxy is " + testProxy + "; can be modified via environment variable, i.e., 'export testproxy=web-proxy.bbn.hp.com:8080'");
}
else {
System.out.println("We do not use proxy");
System.out.println("We do not use proxy.");
}

if (isBehindProxy) {
Expand Down Expand Up @@ -109,7 +109,7 @@ public void testUIcaseF() {
}
Assert.assertEquals(query.isDisplayed(), true);
}

//test
@Test
public void testUIcaseAlwaysPass() {
System.out.println("Proudly running test " + Thread.currentThread().getStackTrace()[1]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class TestD {

@Test
public void testUIcaseAlwaysPass() {
System.out.println("Proudly running test " + Thread.currentThread().getStackTrace()[1]);
System.out.println("Proudly running test " + Thread.currentThread().getStackTrace()[1]);
Assert.assertTrue(true);
}
}
130 changes: 75 additions & 55 deletions webapp/src/test/java/com/hp/devops/demoapp/BandTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,65 +16,85 @@
* To change this template use File | Settings | File Templates.
*/
public class BandTest {
//private String NON_RELATED;
private JSONObject test;
//private String NON_RELATED;
private JSONObject test;

@Before
public void beforeEach() {
test = new JSONObject();
test.put("id", 1);
test.put("name", "Name");
test.put("logo", "Logo");
test.put("song", "Song");
test.put("votes", 10);
}
@Before
public void beforeEach() {
test = new JSONObject();
test.put("id", 1);
test.put("name", "Name");
test.put("logo", "Logo");
test.put("song", "Song");
test.put("votes", 10);
}

@Test
public void bandTestA() {
try {
Band band = new Band(null);
Assert.fail("the flow MUST have been fallen before");
} catch (Exception e) {
Assert.assertEquals(e.getClass(), NullPointerException.class);
}
}
@Test
public void bandTestA() {
try {
Band band = new Band(null);
Assert.fail("the flow MUST have been fallen before");
} catch (Exception e) {
Assert.assertEquals(e.getClass(), NullPointerException.class);
}
}

@Test
public void bandTestB() {
try {
Band band = new Band(new JSONObject());
Assert.fail("the flow MUST have been fallen before");
} catch (Exception e) {
Assert.assertEquals(e.getClass(), InvalidParameterException.class);
Assert.assertEquals(e.getMessage(), "json must have an id property");
}
}
@Test
public void bandTestA11() {
try {
Band band = new Band(null);
Assert.fail("the flow MUST have been fallen before");
} catch (Exception e) {
Assert.assertEquals(e.getClass(), NullPointerException.class);
}
}

@Test
public void bandTestC() {
test.remove("name");
test.remove("logo");
Band band = new Band(test);
Assert.assertEquals(band.id, 1);
Assert.assertEquals(band.name, "");
Assert.assertEquals(band.logo, "");
Assert.assertEquals(band.song, "Song");
Assert.assertEquals(band.votes, 10);
}
@Test
public void bandTestA1() {
try {
Band band = new Band(null);
Assert.fail("the flow MUST have been fallen before");
} catch (Exception e) {
Assert.assertEquals(e.getClass(), NullPointerException.class);
}
}

@Test
@Ignore
public void bandTestD() {
Band band = new Band(test);
Assert.assertEquals(test.toString(), band.toJSON().toString());
}
@Test
public void bandTestB() {
try {
Band band = new Band(new JSONObject());
Assert.fail("the flow MUST have been fallen before");
} catch (Exception e) {
Assert.assertEquals(e.getClass(), InvalidParameterException.class);
Assert.assertEquals(e.getMessage(), "json must have an id property");
}
}

@Test
public void bandTestE() {
Band band = new Band(test);
JSONObject tmp = new JSONObject();
tmp.put("id", test.get("id"));
tmp.put("votes", test.get("votes"));
Assert.assertEquals(tmp.toString(), band.toJSONVotes().toString());
}
@Test
public void bandTestC() {
test.remove("name");
test.remove("logo");
Band band = new Band(test);
Assert.assertEquals(band.id, 1);
Assert.assertEquals(band.name, "");
Assert.assertEquals(band.logo, "");
Assert.assertEquals(band.song, "Song");
Assert.assertEquals(band.votes, 10);
}

@Test
@Ignore
public void bandTestD() {
Band band = new Band(test);
Assert.assertEquals(test.toString(), band.toJSON().toString());
}

@Test
public void bandTestE() {
Band band = new Band(test);
JSONObject tmp = new JSONObject();
tmp.put("id", test.get("id"));
tmp.put("votes", test.get("votes"));
Assert.assertEquals(tmp.toString(), band.toJSONVotes().toString());
}
}
5 changes: 2 additions & 3 deletions webapp/src/test/java/com/hp/devops/demoapp/CalcsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public void eq_test_B() {
public void neq_test_A() {
assertTrue(Calcs.nonEqual(0, 1));
}
//add comment
@Test
public void neq_test_B() {
assertTrue(Calcs.nonEqual(-1, 0));
Expand All @@ -61,6 +60,6 @@ public void neq_test_C_BrokenTest() {
assertTrue(Calcs.nonEqual(5, 5));
}

// @Test
// public void always_true_A() {assertTrue(Calcs.alwaysTrue());}
@Test
public void always_true_A() {assertTrue(Calcs.alwaysTrue());}
}
Loading