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
| package org.ivanursul.guice.application; | |
| import javax.inject.Inject; | |
| import org.ivanursul.guice.service.NotificationService; | |
| public class DefaultApplication { | |
| private NotificationService service; | |
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
| package org.ivanursul.guice.application; | |
| import javax.inject.Inject; | |
| import org.ivanursul.guice.service.NotificationService; | |
| public class DefaultApplication { | |
| private NotificationService service; |
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
| package org.ivanursul.guice.injector; | |
| import org.ivanursul.guice.service.FacebookService; | |
| import org.ivanursul.guice.service.NotificationService; | |
| import com.google.inject.AbstractModule; | |
| public class AppInjector extends AbstractModule { | |
| @Override |
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
| package org.ivanursul.guice; | |
| import org.ivanursul.guice.application.DefaultApplication; | |
| import org.ivanursul.guice.injector.AppInjector; | |
| import com.google.inject.Guice; | |
| import com.google.inject.Injector; | |
| public class ClientApplication { | |
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
| <dependency> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| <version>4.12</version> | |
| </dependency> |
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
| <dependency> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| <version>4.12</version> | |
| <scope>provided</scope> | |
| </dependency> |
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
| <mvc:annotation-driven validator="validator"> | |
| <mvc:argument-resolvers> | |
| <ref bean="offsetAnnotationHandlerMethodArgumentResolver" /> | |
| <ref bean="limitAnnotationHandlerMethodArgumentResolver" /> | |
| <ref bean="pagedRequestHandlerMethodArgumentResolver" /> | |
| </mvc:argument-resolvers> | |
| <mvc:message-converters> | |
| <ref bean="jsonMessageConverter" /> | |
| <ref bean="xmlMessageConverter" /> | |
| </mvc:message-converters> |
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
| package org.springframework.beans.factory.xml; | |
| import org.w3c.dom.Element; | |
| import org.w3c.dom.Node; | |
| import org.springframework.beans.factory.config.BeanDefinition; | |
| import org.springframework.beans.factory.config.BeanDefinitionHolder; | |
| public interface NamespaceHandler { | |
| void init(); |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>robot-framework</groupId> | |
| <artifactId>robot</artifactId> | |
| <version>0.0.1-SNAPSHOT</version> | |
| <packaging>jar</packaging> |
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
| *** Settings *** | |
| Library SeleniumLibrary | |
| Test Set Up Start Selenium Server | |
| Test Tear Down Stop Selenium Server | |
| *** Test Cases *** | |
| Basic test case | |
| Open Browser https://twitter.com |