Skip to content

Make tests#5

Open
Robar3 wants to merge 4 commits into
DarkWeird:masterfrom
Robar3:master
Open

Make tests#5
Robar3 wants to merge 4 commits into
DarkWeird:masterfrom
Robar3:master

Conversation

@Robar3

@Robar3 Robar3 commented Dec 24, 2019

Copy link
Copy Markdown

Make 8 test.

public DetailsType getBank(String blz) {
return blzServicePortType.getBank(blz);
}
// @Override

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Закомментированый код - мертвый код. Удалить

public interface BlzCodeService {

DetailsType getBank(String blz);
// DetailsType getCalc(String calk);

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Закоментированный код - мертвый код

Comment thread pom.xml
<version>3.8.11.2</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.sun.xml.ws/jaxws-rt -->
<dependency>

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это работает?

public class CalcExampleTest extends SpringCalcTest{
@Autowired
CalculatorSoap calculatorSoap;
@Test

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Проблемы с отступами для аннотаций. в IDEA ctrl+alt+L

import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.testng.AbstractTestNGSpringContextTests;
@ContextConfiguration(locations ={"classpath:spring-context.xml"} )
public class SpringCalcTest extends AbstractTestNGSpringContextTests {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

не зачем создавать лишний "Base" класс

import me.darkweird.testing.service.BlzCodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ru.Robar3.CalculatorSoap;

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Зачем этот импорт?

@Robar3 Robar3 requested a review from DarkWeird December 24, 2019 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants