Skip to content

Instantly share code, notes, and snippets.

@LevT2
LevT2 / tests.js
Last active August 10, 2022 16:50
карри toMatch - тест сломан (suite.sut_func is not a function)
const _ = require("lodash");
//region My Framework
const runSuite = (suiteDescription) => {
// TODO
}
const runTest = (tst, suiteDescription) => describe(suiteDescription, () => {
const runnable = function (test_) {
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:125)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:108)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:118)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:246)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289)
@LevT2
LevT2 / script.ps1
Created November 13, 2017 15:01
Службы диагностического отслеживания для Windows 8.1
# Службы диагностического отслеживания
Get-Service DiagTrack | Stop-Service
Get-Service DiagTrack | Set-Service -StartupType Disabled
@LevT2
LevT2 / script.ps1
Created November 13, 2017 15:00
Службы диагностического отслеживания для Windows 10
# Службы диагностического отслеживания
$Services = @(
"CDPSvc",
"DiagTrack",
"diagnosticshub.standardcollector.service",
"dmwappushservice",
"DusmSvc",
"lfsvc",
"MapsBroker",
"NcbService",