-
Notifications
You must be signed in to change notification settings - Fork 12
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
Showing
25 changed files
with
237 additions
and
48 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
19 changes: 19 additions & 0 deletions
19
wilma-functionaltest/resourceCompile/src/com/epam/sandbox/common/SuperLogic.java
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
24 changes: 17 additions & 7 deletions
24
...naltest/resourceCompile/src/com/epam/sandbox/conditionchecker/AlwaysTrueCheckerJared.java
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
26 changes: 19 additions & 7 deletions
26
...ctionaltest/resourceCompile/src/com/epam/sandbox/interceptor/RequestInterceptorJared.java
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
23 changes: 21 additions & 2 deletions
23
...tionaltest/resourceCompile/src/com/epam/sandbox/interceptor/ResponseInterceptorJared.java
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 |
---|---|---|
@@ -1,16 +1,35 @@ | ||
package com.epam.sandbox.interceptor; | ||
|
||
/*========================================================================== | ||
Copyright since 2013, EPAM Systems | ||
This file is part of Wilma. | ||
Wilma is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
Wilma is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with Wilma. If not, see <http://www.gnu.org/licenses/>. | ||
===========================================================================*/ | ||
|
||
import com.epam.sandbox.common.SuperLogic; | ||
import com.epam.wilma.domain.http.WilmaHttpResponse; | ||
import com.epam.wilma.domain.stubconfig.interceptor.ResponseInterceptor; | ||
import com.epam.wilma.domain.stubconfig.parameter.ParameterList; | ||
|
||
public class ResponseInterceptorJared implements ResponseInterceptor{ | ||
public class ResponseInterceptorJared implements ResponseInterceptor { | ||
|
||
private SuperLogic superLogic = new SuperLogic(); | ||
|
||
@Override | ||
public void onResponseReceive(WilmaHttpResponse response, ParameterList parameters){ | ||
public void onResponseReceive(WilmaHttpResponse response, ParameterList parameters) { | ||
System.out.println("response interceptor: " + superLogic.getResult()); | ||
} | ||
} |
26 changes: 19 additions & 7 deletions
26
...st/resourceCompile/src/com/epam/sandbox/responseFormatter/TestResponseFormatterJared.java
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
19 changes: 19 additions & 0 deletions
19
...st/resourceCompile/src/com/epam/sandbox/templategenerator/TestTemplateGeneratorJared.java
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
19 changes: 19 additions & 0 deletions
19
wilma-functionaltest/resourceCompile/src/com/epam/sandbox/two/ConditionCheckerOne.java
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
19 changes: 19 additions & 0 deletions
19
wilma-functionaltest/resourceCompile/src/com/epam/sandbox/two/ConditionCheckerTwo.java
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
19 changes: 19 additions & 0 deletions
19
...functionaltest/resourceCompile/src/com/epam/wilma/functionalTest/MyAlwaysTrueChecker.java
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
Oops, something went wrong.