Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove dataflow tests #589

Merged
merged 3 commits into from
Feb 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 0 additions & 79 deletions integration/rules/javascript_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,56 +7,26 @@ func TestJavascriptLangLoggerSummary(t *testing.T) {
runRulesTest("javascript/lang/logger", "summary", "javascript_lang_logger", t)
}

func TestJavascriptLangLoggerDataflow(t *testing.T) {
t.Parallel()
runRulesTest("javascript/lang/logger", "dataflow", "javascript_lang_logger", t)
}

func TestJavascriptLangSessionSummary(t *testing.T) {
t.Parallel()
runRulesTest("javascript/lang/session", "summary", "javascript_session", t)
vjerci marked this conversation as resolved.
Show resolved Hide resolved
}

func TestJavascriptLangSessionDataflow(t *testing.T) {
t.Parallel()
runRulesTest("javascript/lang/session", "dataflow", "javascript_session", t)
}

func TestJavascriptWeakEncryptionDataflow(t *testing.T) {
t.Parallel()
runRulesTest("javascript/lang/weak_encryption", "dataflow", "javascript_weak_encryption", t)
}

func TestJavascriptWeakEncryptionSummary(t *testing.T) {
t.Parallel()
runRulesTest("javascript/lang/weak_encryption", "summary", "javascript_weak_encryption", t)
}

func TestExpressSecureCookieDataflow(t *testing.T) {
t.Parallel()
runRulesTest("javascript/express/insecure_cookie", "dataflow", "express_insecure_cookie", t)
}

func TestExpressSecureCookieSummary(t *testing.T) {
t.Parallel()
runRulesTest("javascript/express/insecure_cookie", "summary", "express_insecure_cookie", t)
}

func TestJavascriptJWTDataflow(t *testing.T) {
t.Parallel()
runRulesTest("javascript/lang/jwt", "dataflow", "javascript_jwt", t)
}

func TestJavascriptJWTSummary(t *testing.T) {
t.Parallel()
runRulesTest("javascript/lang/jwt", "summary", "javascript_jwt", t)
}

func TestJavascriptHTTPInsecureDataflow(t *testing.T) {
t.Parallel()
runRulesTest("javascript/lang/http_insecure", "dataflow", "javascript_http_insecure", t)
}

func TestJavascriptHTTPInsecureSummary(t *testing.T) {
t.Parallel()
runRulesTest("javascript/lang/http_insecure", "summary", "javascript_http_insecure", t)
Expand All @@ -67,94 +37,45 @@ func TestJavascriptThirdPartySentrySummary(t *testing.T) {
runRulesTest("javascript/third_parties/sentry", "summary", "javascript_third_parties_sentry", t)
}

func TestJavascriptThirdPartySentryDataflow(t *testing.T) {
t.Parallel()
runRulesTest("javascript/third_parties/sentry", "dataflow", "javascript_third_parties_sentry", t)
}

func TestJavascriptLangExceptionSummary(t *testing.T) {
t.Parallel()
runRulesTest("javascript/lang/exception", "summary", "javascript_lang_exception", t)
}

func TestJavascriptLangExceptionDataflow(t *testing.T) {
t.Parallel()
runRulesTest("javascript/lang/exception", "dataflow", "javascript_lang_exception", t)
}

func TestJavascriptLangFileGenerationSummary(t *testing.T) {
t.Parallel()
runRulesTest("javascript/lang/file_generation", "summary", "javascript_lang_file_generation", t)
}

func TestJavascriptLangFileGenerationDataflow(t *testing.T) {
t.Parallel()
runRulesTest("javascript/lang/file_generation", "dataflow", "javascript_lang_file_generation", t)
}

func TestJavascriptGTMDataflow(t *testing.T) {
t.Parallel()
runRulesTest("javascript/third_parties/google_tag_manager", "dataflow", "javascript_google_tag_manager", t)
}

func TestJavascriptGTMSummary(t *testing.T) {
t.Parallel()
runRulesTest("javascript/third_parties/google_tag_manager", "summary", "javascript_google_tag_manager", t)
}

func TestJavascriptGoogleAnalyticsDataflow(t *testing.T) {
t.Parallel()
runRulesTest("javascript/third_parties/google_analytics", "dataflow", "javascript_google_analytics", t)
}

func TestJavascriptGoogleAnalyticsSummary(t *testing.T) {
t.Parallel()
runRulesTest("javascript/third_parties/google_analytics", "summary", "javascript_google_analytics", t)
}

func TestJavascriptReactGoogleAnalyticsDataflow(t *testing.T) {
t.Parallel()
runRulesTest("javascript/react/google_analytics", "dataflow", "javascript_react_google_analytics", t)
}

func TestJavascriptReactGoogleAnalyticsSummary(t *testing.T) {
t.Parallel()
runRulesTest("javascript/react/google_analytics", "summary", "javascript_react_google_analytics", t)
}

func TestJavascriptAlgoliaDataflow(t *testing.T) {
t.Parallel()
runRulesTest("javascript/third_parties/algolia", "dataflow", "javascript_third_parties_algolia", t)
}

func TestJavascriptAlgoliaSummary(t *testing.T) {
t.Parallel()
runRulesTest("javascript/third_parties/algolia", "summary", "javascript_third_parties_algolia", t)
}

func TestJavascriptDataDogDataflow(t *testing.T) {
t.Parallel()
runRulesTest("javascript/third_parties/datadog", "dataflow", "javascript_third_parties_datadog", t)
}

func TestJavascriptDataDogSummary(t *testing.T) {
t.Parallel()
runRulesTest("javascript/third_parties/datadog", "summary", "javascript_third_parties_datadog", t)
}

func TestJavascriptDataDogBrowserDataflow(t *testing.T) {
t.Parallel()
runRulesTest("javascript/third_parties/datadog_browser", "dataflow", "javascript_third_parties_datadog_browser", t)
}

func TestJavascriptDataDogBrowserSummary(t *testing.T) {
t.Parallel()
runRulesTest("javascript/third_parties/datadog_browser", "summary", "javascript_third_parties_datadog_browser", t)
}
func TestJavascriptElasticSearchDataflow(t *testing.T) {
t.Parallel()
runRulesTest("javascript/third_parties/elasticsearch", "dataflow", "javascript_elasticsearch", t)
}

func TestJavascriptElasticSearchSummary(t *testing.T) {
t.Parallel()
Expand Down
Loading