This file contains hidden or 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
@RunWith(AndroidJUnit4.class) @LargeTest public class RatesActivityShould { | |
@Rule public ActivityTestRule<RatesActivity> rule = | |
new ActivityTestRule<RatesActivity>(RatesActivity.class); | |
@Test public void show_rates_widget_on_load() throws Exception { | |
RatesActivity activity = rule.getActivity(); | |
activity.setContentView(new AwesomeTextView(activity)); | |
onView(isAssignableFrom(AwesomeTextView.class)).perform(typeText("ModerFoka")) |
This file contains hidden or 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
/** | |
* Copyright (C) 2015 Cristian Gomez Open Source Project <p/> Licensed under the Apache License, | |
* Version 2.0 (the "License"); you may not use this file except in compliance with the License. You | |
* may obtain a copy of the License at <p/> http://www.apache.org/licenses/LICENSE-2.0 <p/> Unless | |
* required by applicable law or agreed to in writing, software distributed under the License is | |
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | |
* implied. See the License for the specific language governing permissions and limitations under | |
* the License. | |
*/ |
This file contains hidden or 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
/** | |
* Copyright (C) 2015 Cristian Gomez Open Source Project <p/> Licensed under the Apache License, | |
* Version 2.0 (the "License"); you may not use this file except in compliance with the License. You | |
* may obtain a copy of the License at <p/> http://www.apache.org/licenses/LICENSE-2.0 <p/> Unless | |
* required by applicable law or agreed to in writing, software distributed under the License is | |
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | |
* implied. See the License for the specific language governing permissions and limitations under | |
* the License. | |
*/ |
This file contains hidden or 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
/** | |
* Copyright (C) 2015 Cristian Gomez Open Source Project <p/> Licensed under the Apache License, | |
* Version 2.0 (the "License"); you may not use this file except in compliance with the License. You | |
* may obtain a copy of the License at <p/> http://www.apache.org/licenses/LICENSE-2.0 <p/> Unless | |
* required by applicable law or agreed to in writing, software distributed under the License is | |
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | |
* implied. See the License for the specific language governing permissions and limitations under | |
* the License. | |
*/ |
This file contains hidden or 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
/** | |
* Copyright (C) 2015 Cristian Gomez Open Source Project <p/> Licensed under the Apache License, | |
* Version 2.0 (the "License"); you may not use this file except in compliance with the License. You | |
* may obtain a copy of the License at <p/> http://www.apache.org/licenses/LICENSE-2.0 <p/> Unless | |
* required by applicable law or agreed to in writing, software distributed under the License is | |
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | |
* implied. See the License for the specific language governing permissions and limitations under | |
* the License. | |
*/ |
This file contains hidden or 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
/** | |
* Copyright (C) 2015 Cristian Gomez Open Source Project <p/> Licensed under the Apache License, | |
* Version 2.0 (the "License"); you may not use this file except in compliance with the License. You | |
* may obtain a copy of the License at <p/> http://www.apache.org/licenses/LICENSE-2.0 <p/> Unless | |
* required by applicable law or agreed to in writing, software distributed under the License is | |
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | |
* implied. See the License for the specific language governing permissions and limitations under | |
* the License. | |
*/ |
This file contains hidden or 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
/** | |
* Defaul base interactor. This class describes in the practical Clean Architecture how a use case | |
* it can be perfomed. For practical pruposes a use case has two phases the moment when is executed | |
* an the moment when needs to return a response, it depends on a default {@link InteractorExecutor} | |
* wich handles the basic flow. At the end of the process the {@link InteractorResponse} sends the | |
* response to the class that generates the call. For practical purposes an inner class model is | |
* needed and must be implemented for every {@link Interactor}. | |
*/ | |
public abstract class Interactor<E, J> { |
NewerOlder